<!--<#include "/lib/lib.html">-->
<html lang="en" xmlns:th="http://www.thymeleaf.org"
      xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <title>新增用户</title>
    <meta name="keywords" content="">
    <meta name="description" content="">

    <link rel="shortcut icon" data-th-href="@{/favicon.ico}">
    <link rel="stylesheet" data-th-href="@{/asserts/css/bootstrap.min.css}">
    <link rel="stylesheet" data-th-href="@{/asserts/css/font-awesome.css}" >
    <link rel="stylesheet" data-th-href="@{/asserts/css/animate.css}" >
    <link rel="stylesheet" data-th-href="@{/asserts/css/style.css}" >
    <link rel="stylesheet" data-th-href="@{/asserts/css/plugins/ztree/zTreeStyle.css}">
    <link rel="stylesheet" data-th-href="@{/asserts/css/plugins/bootstrap-table/bootstrap-table.min.css}">
    <link rel="stylesheet" data-th-href="@{/asserts/css/plugins/validate/bootstrapValidator.min.css}">
    <link rel="stylesheet" data-th-href="@{/asserts/css/plugins/iCheck/custom.css}">
    <!-- Latest compiled and minified CSS -->
    <style>
        .form-control:focus,
        .single-line:focus {
            border-color: #0e9aef !important;
        }
        .checkbox-inline {
            line-height: 5px;
        }
    </style>
</head>
<body>
    <div class="ibox float-e-margins">
        <div class="ibox-content">
            <div class="form-horizontal" id="userInfoForm">
                <input type="hidden" id="id" value="">
                <div class="row">
                    <div class="col-sm-6 b-r">
                        <div class="form-group">
                            <label class="col-sm-3 control-label">账户</label>
                            <div class="col-sm-9">
                                <input class="form-control" id="account" name="account" type="text">
                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">性别</label>
                            <div class="col-sm-9">
                                <select class="form-control" id="sex" name="性别">
                                    <option value="1">男</option>
                                    <option value="2">女</option>
                                </select>
                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">密码</label>
                            <div class="col-sm-9">
                                <input class="form-control" id="password" name="密码" type="password">
                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">角色</label>
                            <div class="col-sm-9">
                                <input class="form-control" id="roleid" name="角色" type="text"  disabled="disabled">
                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">邮箱</label>
                            <div class="col-sm-9">
                                <input class="form-control" id="email" name="邮箱" type="email" >
                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                     </div>
                    <div class="col-sm-6">
                        <div id="driverInfoContent">
                            <div class="form-group">
                                <label class="col-sm-3 control-label">姓名</label>
                                <div class="col-sm-9">
                                    <input class="form-control" id="name" name="姓名" type="text" >
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">出生日期</label>
                                <div class="col-sm-9">
                                    <input class="form-control" id="birthday" name="出生日期" type="date"
                                           onclick="laydate({istime: false, format: 'YYYY-MM-DD'})">
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">确认密码</label>
                                <div class="col-sm-9">
                                    <input class="form-control" id="rePassword" name="确认密码" type="password">
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">部门</label>
                                <div class="col-sm-9">
                                    <input class="form-control" id="citySel" name="citySel" type="text" readonly="readonly"
                                           onclick="UserInfoDlg.showDeptSelectTree()"
                                           style="background-color: #ffffff !important;">
                                    <input class="form-control" type="hidden" id="deptid" value="">
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">电话</label>
                                <div class="col-sm-9">
                                    <input class="form-control" id="phone" name="电话" type="tel">
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                        </div>
                    </div>
                </div>

                <!-- 这是部门选择的下拉框 demo-->
                <div id="menuContent" class="menuContent"
                     style="display: none; position: absolute; z-index: 200;">
                    <ul id="treeDemo" class="ztree tree-box" style="width: 249px !important;"></ul>
                </div>

                <div class="row btn-group-m-t">
                    <div class="col-sm-10">
                        <button type="button" class="btn btn-info" onclick="UserInfoDlg.addSubmit()" id="ensure">
                            <i class="fa fa-check"></i>&nbsp;提交
                        </button>
                        <button type="button" class="btn btn-danger" onclick="UserInfoDlg.close()" id="cancel">
                            <i class="fa-eraser"></i>&nbsp;取消
                        </button>
                    </div>
                </div>
            </div>
        </div>
    </div>
</body>

<!-- 全局js -->
<script data-th-src="@{/webjars/jquery/3.3.1/jquery.js}"></script>

<!--自定义js-->
<script data-th-src="@{ /asserts/js/common/Feng.js}"></script>
<script data-th-src="@{ /asserts/js/common/bootstrap-table-object.js}"></script>
<script data-th-src="@{ /asserts/js/common/ajax-object.js}"></script>
<script data-th-src="@{ /asserts/js/common/ztree-object.js}"></script>
<script data-th-src="@{ /asserts/js/modular/sys/user/user_info.js}"></script>

<!--第三方插件js-->
<script data-th-src="@{/asserts/js/plugins/bootstrap-table/bootstrap-table.min.js}"></script>
<script data-th-src="@{/asserts/js/plugins/validate/bootstrapValidator.min.js}"></script>
<script data-th-src="@{/asserts/js/plugins/layer/layer.min.js}"></script>
<script data-th-src="@{/asserts/js/plugins/ztree/jquery.ztree.all.min.js}"></script>
<script data-th-src="@{/asserts/js/plugins/layer/laydate/laydate.js}"></script>

<script th:inline="javascript">
    var ctxPath = [[@{/}]];
</script>

</html>